package routes

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

// 定义处理首页的各种路由
func addIndexRouters(rg *gin.RouterGroup) {

	rg.GET("/", func(c *gin.Context) {
		c.JSON(http.StatusOK, gin.H{
			"hello": "world",
		})
	})

}
